
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGShaderParameterBool.h>
#include <OpenSG/OSGShaderParameterBoolBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ShaderParameterBool_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_ShaderParameterBool()
{
    scope* osg_ShaderParameterBoolBase_scope = new scope(
    class_< osg::ShaderParameterBoolBase, bases< osg::ShaderParameter > , boost::noncopyable >("ShaderParameterBoolBase", no_init)
//        .def_readonly("ValueFieldMask", &osg::ShaderParameterBoolBase::ValueFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ShaderParameterBoolBase::MTInfluenceMask)
        .def("getClassType", &osg::ShaderParameterBoolBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ShaderParameterBoolBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ShaderParameterBoolBase::*)() )&osg::ShaderParameterBoolBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ShaderParameterBoolBase::*)() const)&osg::ShaderParameterBoolBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ShaderParameterBoolBase::getContainerSize)
        //.def("getValue", (bool& (osg::ShaderParameterBoolBase::*)() )&osg::ShaderParameterBoolBase::getValue, return_value_policy< copy_const_reference >())
        .def("getValue", (const bool& (osg::ShaderParameterBoolBase::*)() const)&osg::ShaderParameterBoolBase::getValue, return_value_policy< copy_const_reference >())
        .def("setValue", &osg::ShaderParameterBoolBase::setValue)
        .def("getBinSize", &osg::ShaderParameterBoolBase::getBinSize)
        .def("copyToBin", &osg::ShaderParameterBoolBase::copyToBin)
        .def("copyFromBin", &osg::ShaderParameterBoolBase::copyFromBin)
        .def("create", &osg::ShaderParameterBoolBase::create)
        .def("createEmpty", &osg::ShaderParameterBoolBase::createEmpty)
        .def("shallowCopy", &osg::ShaderParameterBoolBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::ShaderParameterBoolBase::NextFieldId;
    scope().attr("ValueFieldId") = (int)osg::ShaderParameterBoolBase::ValueFieldId;

    delete osg_ShaderParameterBoolBase_scope;

    class_< osg::ShaderParameterBool, bases< osg::ShaderParameterBoolBase > , boost::noncopyable, osg::ShaderParameterBoolRefPtr >("ShaderParameterBool", no_init)
        .def("changed", &osg::ShaderParameterBool::changed)
        .def("dump", &osg::ShaderParameterBool::dump, osg_ShaderParameterBool_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::ShaderParameterBoolPtr>();
    implicitly_convertible<osg::ShaderParameterBoolRefPtr, osg::ShaderParameterBoolPtr>();
    implicitly_convertible<osg::ShaderParameterBoolPtr, osg::ShaderParameterPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::ShaderParameterBoolPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ShaderParameterBoolPtr>);
}

